package org.jeecg.modules.demo.com.kunpeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.demo.com.kunpeng.entity.OaCustomer;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OaCustomerMapper extends BaseMapper<OaCustomer>{

    /**
     * 根据共享id查询客户
     */
    List<OaCustomer> oaCustomerListByShareIds(String shareId);

    /**
     * 获取所以客户名称列表
     */
    List<OaCustomer> oaCustomerList();

    /**
     * 根据客户id获取客户信息
     * @param id
     * @return
     */
    OaCustomer selectOaCustomerById(Integer id);
}
